package com.yykj.prescription.server.service;

import com.yykj.common.vo.PageData;
import com.yykj.prescription.client.dto.PrescriptionCheckDTO;
import com.yykj.prescription.client.dto.PrescriptionCreateDTO;
import com.yykj.prescription.client.dto.PrescriptionDetailDTO;
import com.yykj.prescription.client.dto.PrescriptionOrderCheckResultDTO;
import com.yykj.prescription.server.dto.prescription.PrescriptionListSearchDTO;
import com.yykj.prescription.server.model.entity.prescription.Prescription;
import com.yykj.prescription.server.vo.BackPrescriptionListVO;
import com.yykj.prescription.server.vo.PrescriptionListVO;

public interface PrescriptionService {
    Prescription createPrescription(PrescriptionCreateDTO createDTO);

    PageData<PrescriptionListVO> listPrescription(PrescriptionListSearchDTO searchDTO);

    PageData<BackPrescriptionListVO> listBackPrescription(PrescriptionListSearchDTO searchDTO);

    PrescriptionDetailDTO prescriptionInfo(String prescriptionId);

    void autoCheckPrescription(String prescriptionId);

    void userCheckPrescription(PrescriptionCheckDTO checkDTO);

    PrescriptionOrderCheckResultDTO checkPrescriptionOrder(String prescriptionId);
}
